package utils;

import org.joda.time.DateTime;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;

public class GeneralUtils {

	public static String getCurrentFormattedDateTime() {
		DateTimeFormatter formatter = DateTimeFormat
				.forPattern(GeneralConstants.DATETIME_PATTERN);
		return formatter.print(new DateTime());
	}

	public static void println(String text) {
		System.out.println(getCurrentFormattedDateTime() + " " + text);

	}
}
